﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Batman.Jianbei.Forum.Migrations.JianbeiForumDbContext2Migrations
{
    public partial class _201905081 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Following",
                table: "Follow",
                newName: "WxUserId");

            migrationBuilder.RenameColumn(
                name: "Follower",
                table: "Follow",
                newName: "FollowBy");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "WxUserId",
                table: "Follow",
                newName: "Following");

            migrationBuilder.RenameColumn(
                name: "FollowBy",
                table: "Follow",
                newName: "Follower");
        }
    }
}
